﻿using System;

namespace Avin.Infrastructure.Entity
{
    /// <summary>
    /// 实体类属性特性
    /// </summary>
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
    public class EntityFieldAttribute : Attribute
    {
        /// <summary>
        /// 是否可以更新
        /// </summary>
        public bool CanUpdate = true;

        /// <summary>
        /// 是否自动设置值
        /// </summary>
        public bool AutoSet = true;
    }
}
